@import 'var';


.layout-center{
  margin: 0 auto;
  width: 1200px;
}

header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: $h-height;
  line-height: $h-height;
  background-color:  $primary-color;
  box-shadow: 0 3px 5px -1px rgba(0,0,0,.2), 0 6px 10px 0 rgba(0,0,0,.14), 0 1px 18px 0 rgba(0,0,0,.12);
  color: #fff;
  z-index: 999;
}

main{
  margin-top: $h-height;
  min-height: calc(100vh - #{$h-height} - #{$b-height});
  padding: $padding 0;

  .layout-center{
    position: relative;
  }
}

main,footer{
  background-color: #f5f5f5;
}

footer{
  text-align: center;
  font-size: 0.8em;
  color: #999;
  height: $b-height;

  hr{
    border: solid 1px #e2e2e2;
    margin: 0;
    margin-bottom: 10px;
  }
}
